package com.dianping.cat.home.dependency.graph.transform;

import com.dianping.cat.home.dependency.graph.IVisitor;
import com.dianping.cat.home.dependency.graph.entity.TopologyEdge;
import com.dianping.cat.home.dependency.graph.entity.TopologyGraph;
import com.dianping.cat.home.dependency.graph.entity.TopologyNode;


public abstract class BaseVisitor
  implements IVisitor
{
  public void visitTopologyEdge(TopologyEdge topologyEdge) {}

  public void visitTopologyGraph(TopologyGraph topologyGraph) {
/* 15 */     for (TopologyNode topologyNode : topologyGraph.getNodes().values()) {
/* 16 */       visitTopologyNode(topologyNode);
    }

/* 19 */     for (TopologyEdge topologyEdge : topologyGraph.getEdges().values())
/* 20 */       visitTopologyEdge(topologyEdge); 
  }

  public void visitTopologyNode(TopologyNode topologyNode) {}
}


/* Location:              /Users/hanfei/Documents/apache-tomcat-9.0.24/webapps/cat/WEB-INF/classes/!/com/dianping/cat/home/dependency/graph/transform/BaseVisitor.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       1.0.7
 */